package com.bnq.face

import android.graphics.Rect

/**
 *  int FaceStatus = 0; // 是否有人脸 包含人脸倾斜 多张人脸 人脸出境
    int Luminance = 0; // 亮度
    int Blurry = 0; // 人脸模糊
 */
data class FaceResult(val faceStatus:Boolean,val luminance:Boolean,val blurry:Boolean,val log :String,val faceRect:Rect,val detRect:Rect){
    companion object {
//        @JvmStatic
//        fun parse(status:Int):FaceResult{
//            val blurry = status and 0x00000001 == 1
//            val luminance = status and 0x00000002 == 2
//            val faceStatus = status and 0x00000004 == 4
//            return FaceResult(faceStatus,luminance, blurry,"")
//        }
    }
}
